package org.cyb.demo.domain;

import java.util.ArrayList;
import java.util.List;

public class Major {
    private int majorId;
    private String majorName;
    private List<Course> courseList;

    public Major() {
        super();
        courseList = new ArrayList<Course>();
    }

    public int getMajorId() {
        return majorId;
    }

    public void setMajorId(int majorId) {
        this.majorId = majorId;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName;
    }

    public List<Course> getCourseList() {
        return courseList;
    }

    public void setCourseList(List<Course> courseList) {
        this.courseList = courseList;
    }
}
